package org.uni_hi.lsep.util;

import java.awt.Component;

import javax.swing.JList;
import javax.swing.plaf.basic.BasicComboBoxRenderer;

public class ICMPComboBoxRenderer extends BasicComboBoxRenderer {

	private static final long serialVersionUID = -7382275057167685018L;

		@Override
		public Component getListCellRendererComponent(JList list, Object value,
				int index, boolean isSelected, boolean cellHasFocus) {
			return super.getListCellRendererComponent(list, ((ICMPComboBoxIF)value).getName(), index, isSelected, cellHasFocus);
		}
}
